#!/bin/bash

if [ $# -eq 0 ] ; then
        exit -1
fi

HOST=$1
shift

while [ $# -ge 2 ] ; do
        snmpset -mALL -v1 -Os -cprivate $HOST $*
        exit $?
done
exit 0

